import MyPage
import MyPageZhengze
import MyPython

if __name__ == '__main__':
    url = "https://www.baidu.com/"
    url = "https://www.shanghairanking.cn/rankings/bcur/2021"
    # MyPython.OpenMysql()
    # MyPython.createTable()
    # MyPython.insertEmp()
    # MyPython.selectEmp()
    # MyPython.updateEmp(2)
    # MyPython.delEmp()
    # MyPage.getPageData("https://www.baidu.com/")
    # MyPage.createFile("https://www.baidu.com/")
    text = MyPageZhengze.getHttpText(url)
    # res = MyPageZhengze.findText(text)
    MyPageZhengze.findList(text)
    MyPageZhengze.printUnivList(6)
    # print(text)
    # print(res)
